<?php
namespace Operationtest\Model;

class Meteo
{
    public $idMeteo;
    public $idStore;
    public $date;
    public $idMeteoType;
    public $temperature;
    
    public function exchangeArray($data)
    {
        $this->idMeteo = (isset($data['idMeteo'])) ? $data['idMeteo'] : null;
        $this->idStore = (isset($data['idStore'])) ? $data['idStore'] : null;
        $this->date = (isset($data['date'])) ? $data['date'] : null;
        $this->idMeteoType = (isset($data['idMeteoType'])) ? $data['idMeteoType'] : null;
        $this->temperature = (isset($data['temperature'])) ? $data['temperature'] : null;
    }
}